# RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass none -o - %s | FileCheck %s

--- |

  define void @use_intrin() {
    ret void
  }

...
---
# Completely invalid code, but it checks that intrinsics round-trip properly.
# CHECK: G_INTRINSIC intrinsic(@llvm.returnaddress)
name:            use_intrin
body: |
  bb.0:
    %0:_(s64) = G_INTRINSIC intrinsic(@llvm.returnaddress)
    RET_ReallyLR
...
